package com.edg.service.impl;


import com.edg.service.UserService;
import dao.UserMapper;
import entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    public List<User> allUser() {
        return userMapper.selectAll();
    }
}
